// 教师登录 / 忘记密码
export interface adminRegister {
    adminUsername: string,
    adminPassword: string,
    adminEmail: string,
    verificationCode: string
}

// 教师注册
export interface adminLogin {
    adminUsername: string,
    adminPassword: string
}
//更新管理员信息时传入的信息体
export interface adminUpdate {
    adminUsername: string;
    adminPasswordPre: string;
    adminPassword: string;
    adminEmail: string;
}
//忘记密码
export interface forgetPassword {
    adminUsername: string,
    adminEmail: string,
    adminPassword: string,
    verificationCode: string
}
//登录的返回
export interface loginResponseDate {
    code: number,
    msg: string,
    data: string
}
//获取班级信息传递的参数
export interface GetClassListParams {
    page: number;
    pageSize: number;
    name?: string;
}
//班级信息的返回体
export interface GetClassListResponse {
    code: number;
    msg: string | null;
    data: {
        list: Array<{
            classId: number;
            adminUsername: string;
            className: string;
            classStudentNumber: number;
            adminId: number;
        }>;
        total: number;
    };
}

//创建班级
export interface createClass {
    className: string;
    adminId: string;
    adminUsername: string
}


//获取班级的小组信息传递的参数
export interface getGroupsDatePrams {
    classId: string;
    page?: number;
    pageSize?: number;
}

//班级小组信息的返回体
export interface getClassGroupListResponse {
    code: number;
    msg: string | null;
    data: {
        list: Array<{
            groupId: number,
            studentId: number,
            groupName: string,
            groupProName: string,
            groupScore: number,
            groupIsAvailable: number,
            groupLeader: string,
            groupNotice: string,
            groupFinish: number,
            classId: number,
            giteeUrl: string
        }>;
        total: number;
    };
}

//班级学生信息的返回体
export interface getClassStudentsListResponse {
    code: number;
    msg: string;
    data: {
        list: Array<{
            studentName: string;
            studentId: number;
            studentNumber: string;
            groupProName: string;
            groupScore: number;
            studentFinish: number;
            groupId: number
        }>;
        total: number;
    };
}

//打分立项的信息收集表单
export interface allowAndSetProDatePrams {
    groupId: number,
    groupIsAvailable: number,
    groupScore: number,
    groupNotice: string
}
//获取班级的学生信息传递的参数
export interface GetStudentsListParams {
    classId: string;
    page?: number;
    pageSize?: number;
}









//小组管理 / 班级管理
export interface classManageInfo {
    classId: number,
    adminUsername: string,
    className: string,
    classStudentNumber: number,
    adminId: number
}



export interface classGroup {
    groupId: number,
    groupName: string,
    groupProName: string,
    groupScore: number,
    groupIsAvailable: number,
    groupLeader: string,
    groupNotice: string,
    groupFinish: number,
    classId: number,
    giteeUrl: string
}

export interface getScore {
    groupId: number,
    groupIsAvailable: number,
    groupScore: string,
    groupNotice: string
}

export interface pageInfo {
    page: number,
    pageSize: number,
    name: string,
}


export interface adminForgetPassword {
    adminUsername: string;
    adminPassword: string;
    adminEmail: string;
    verificationCode: string;
}